package com.quanyan.stadium.biz;

import com.quanyan.stadium.entity.TbUserGameSchedule;
import com.quanyan.stadium.entity.vo.GameSchedule;
import com.quanyan.stadium.entity.vo.UserGameRecord;

import java.util.List;

/**
 * Created by lei.w on 2016/7/9.
 */
public interface BizUserGameScheduleDao {

    /**
     * 查询用户赛程根据UId或者用户所在俱乐部id集合
     * （支持分页）
     *
     * @param uid
     * @param status
     * @return
     */
    List<TbUserGameSchedule> selectUserGameScheduleByUidAndStatus(Integer uid, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 查询用户赛程根据UId或者用户所在俱乐部id集合
     *
     * @param uid
     * @param status
     * @return
     */
    List<TbUserGameSchedule> selectUserGameScheduleByUidAndStatus(Integer uid, Integer status);

    /**
     * 用户某状态下赛程数量
     *
     * @param uid
     * @param status
     * @return
     */
    Integer countUserGameScheduleByUidAndStatus(Integer uid, Integer status);
}
